﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Heyu.Utility
{

    /// <summary>
    /// 文件类型
    /// </summary>
    public enum FileType
    {
        /// <summary>
        /// 图片
        /// </summary>
        Image,
        /// <summary>
        /// 压缩包
        /// </summary>
        Package,
        /// <summary>
        /// Flash
        /// </summary>
        Flash,
        /// <summary>
        /// 音频
        /// </summary>
        Audio,
        /// <summary>
        /// 视频
        /// </summary>
        Video,
        /// <summary>
        /// Excel
        /// </summary>
        Excel
    };

    /// <summary>
    /// 字符串类型
    /// </summary>
    public enum StringType
    {
        /// <summary>
        /// 所属地区
        /// </summary>
        Ssdq,
        /// <summary>
        /// 必填
        /// </summary>
        Required,
        /// <summary>
        /// 整数
        /// </summary>
        Int,
        /// <summary>
        /// 正整数
        /// </summary>
        PInt,
        /// <summary>
        /// 负整数
        /// </summary>
        NInt,
        /// <summary>
        /// 非负整数(正整数或0)
        /// </summary>
        NotNInt,
        /// <summary>
        /// 8位日期格式
        /// </summary>
        Int8,
        /// <summary>
        /// 身份证号
        /// </summary>
        IDNumber,
        /// <summary>
        /// 从业资格证号
        /// </summary>
        DriverNumber,
        /// <summary>
        /// 性别
        /// </summary>
        Gender,
        /// <summary>
        /// 日期+时间
        /// </summary>
        DateTime,
        /// <summary>
        /// 日期
        /// </summary>
        Date,
        /// <summary>
        /// 时间
        /// </summary>
        Time,
        /// <summary>
        /// 座机号码
        /// </summary>
        Telphone,
        /// <summary>
        /// 手机号
        /// </summary>
        Mobilephone,
        /// <summary>
        /// 电话号码(座机或者手机)
        /// </summary>
        Phone,
        /// <summary>
        /// 邮箱
        /// </summary>
        Email,
        /// <summary>
        /// 区域(9位地区编码)
        /// </summary>
        Area,
        /// <summary>
        /// 小数
        /// </summary>
        Float,
        /// <summary>
        /// 数字
        /// </summary>
        Number,
        /// <summary>
        /// 字母
        /// </summary>
        Letter,
        /// <summary>
        /// 用户名
        /// </summary>
        UserName,
        /// <summary>
        /// 密码()
        /// </summary>
        Password,
        /// <summary>
        /// 金额(两位小数)
        /// </summary>
        Money,
        /// <summary>
        /// 网址
        /// </summary>
        SiteUrl,
        /// <summary>
        /// 邮政编码
        /// </summary>
        Postcode,

    };

    public class ImgAttr
    {
        public string Word { get; set; }
        public int Width { get; set; }
        public int Height { get; set; }
        public float FontSize { get; set; }
        public string FontFamily { get; set; }
        public string BgColor { get; set; }

    }

}
